package com.ysxsoft.wdg.bean.response;

import java.util.List;

public class TeachWenResponse {

    /**
     * code : 200
     * ms : 成功
     * data : [{"id":1,"content":"<p><img title=\"image.png\" alt=\"\" src=\"http://dzlc.ysxapp.com/uploads/images/20180612/e6f0650a3341e8554baff841de5d915f.png\" width=\"227\" height=\"393\"/>新手看了就懂<\/p>","addtime":"2018-07-05 15:03:19","title":"","uid":0,"avatar":"http://wdg.sanzhima.cn/oa/public/my.png"}]
     */

    private String code;
    private String ms;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMs() {
        return ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * content : <p><img title="image.png" alt="" src="http://dzlc.ysxapp.com/uploads/images/20180612/e6f0650a3341e8554baff841de5d915f.png" width="227" height="393"/>新手看了就懂</p>
         * addtime : 2018-07-05 15:03:19
         * title :
         * uid : 0
         * avatar : http://wdg.sanzhima.cn/oa/public/my.png
         */

        private int id;
        private String content;
        private String addtime;
        private String title;
        private int uid;
        private String avatar;
        private String name;

        public String getName() {
            return name == null ? "" : name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }
}
